package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-09
 */
@TableName("f_addrinfo")
@ApiModel(value = "FAddrinfo对象", description = "")
public class FAddrinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("本表id")
    @TableId(value = "address_id", type = IdType.AUTO)
    private Integer addressId;

    @ApiModelProperty("order表的id")
    private Integer orderId;

    @ApiModelProperty("发货单位")
    private String unit;

    @ApiModelProperty("发货联系人")
    private String linkman;

    @ApiModelProperty("联系人电话")
    private String tel;

    @ApiModelProperty("发货省份")
    private String province;

    @ApiModelProperty("发货城市")
    private String city;

    @ApiModelProperty("发货区")
    private String district;

    @ApiModelProperty("发货详细地址")
    private String fullAddress;

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }
    public String getFullAddress() {
        return fullAddress;
    }

    public void setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
    }

    @Override
    public String toString() {
        return "FAddrinfo{" +
            "addressId=" + addressId +
            ", orderId=" + orderId +
            ", unit=" + unit +
            ", linkman=" + linkman +
            ", tel=" + tel +
            ", province=" + province +
            ", city=" + city +
            ", district=" + district +
            ", fullAddress=" + fullAddress +
        "}";
    }
}
